﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cmd
{
    public class OptionGroupItem
    {
        public OptionAttribute Option { get; private set; }
        public bool Required { get; set; }

        public OptionGroupItem(OptionAttribute option, bool? required = null)
        {
            Option = option;
            Required = required.HasValue ? required.Value : option.Required;
        }
    }
}
